<?xml version="1.0" encoding="UTF-8" ?>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<fmt:setBundle basename="org.jakim.messages.messages" scope="session" />
<%@page import="java.util.Enumeration"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@page import="org.jakim.entity.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Insert title here</title>
<link href="styles/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<%
		User user = null;
		Object atr = session.getAttribute("User");
		
		if ((atr != null) && (atr instanceof User)){
			user = (User)atr;
		}else{
			response.sendRedirect("entry.jsp");
		}

	%>

	<%@include file="/templates/header.xhtml"%>
	<div id="divBodyContainer">
		<%@include file="/templates/menu.xhtml"%>

	</div>
	<%@include file="/templates/footer.xhtml"%>
</body>
</html>